<template>
    <section>
      <h2>我是Sub-B组件</h2>
      <p>query参数name: {{name}}</p>
      <p>query参数age: {{age}}</p>
    </section>
  </template>
    
  <script>
  export default {
      props: ["name","age"]
  };
  </script>
    
  <style scoped>
  h2 {
    color: #0f0;
  }
  </style>